package model

import "time"

//角色模型
type Role struct {
	Id       int       `xorm:"pk"`
	Rolename string    `xorm:"varchar(200) notnull" form:"rolename" binding:"required" title:"角色名称"`
	State    bool      `xorm:"char(1) notnull" form:"state" title:"状态"`
	Created  time.Time `xorm:"created"`
	Updated  time.Time `xorm:"updated"`
}
